#include "asm/regdef.h"
#include "asm/asm.h"
#include "asm/context.h"
#include "inst_test.h"
#include "trap.h"

    .set noreorder
    .set noat 
    .global main 
    .text 

main:
    ###test inst
    TEST_DIV(0x56bedfa4, 0x20831400, 0x00000002, 0x15b8b7a4)
    TEST_DIV(0xfda5ea8a, 0xfac1873c, 0x00000000, 0xfda5ea8a)
    TEST_DIV(0x440d8492, 0x56518478, 0x00000000, 0x440d8492)
    TEST_DIV(0x53697916, 0x8861c18c, 0x00000000, 0x53697916)
    TEST_DIV(0x53eb4a70, 0x07e13dd1, 0x0000000a, 0x051ee046)
    TEST_DIV(0x323676e0, 0xdc3a3f10, 0xffffffff, 0x0e70b5f0)
    TEST_DIV(0xc3e0f060, 0xe9c97944, 0x00000002, 0xf04dfdd8)
    TEST_DIV(0x7c7b85f2, 0xdb7e6dc0, 0xfffffffd, 0x0ef6cf32)
    TEST_DIV(0x3bbf1da0, 0xe73f9eea, 0xfffffffe, 0x0a3e5b74)
    TEST_DIV(0x8786a50c, 0x412dc050, 0xffffffff, 0xc8b4655c)
    TEST_DIV(0x6a42af18, 0x87f55f01, 0x00000000, 0x6a42af18)
    TEST_DIV(0xee98aaf8, 0x36730f80, 0x00000000, 0xee98aaf8)
    TEST_DIV(0x68d65d90, 0xd6d52b70, 0xfffffffe, 0x1680b470)
    TEST_DIV(0x343c97e0, 0x97115df8, 0x00000000, 0x343c97e0)
    TEST_DIV(0x17779850, 0x511b1fba, 0x00000000, 0x17779850)
    TEST_DIV(0x7bfc98c0, 0xdffb8d8c, 0xfffffffd, 0x1bef4164)
    TEST_DIV(0xa1090e30, 0x9f634c20, 0x00000000, 0xa1090e30)
    TEST_DIV(0x944789e0, 0xbc1aeab0, 0x00000001, 0xd82c9f30)
    TEST_DIV(0x91913c20, 0x0d7fa4a0, 0xfffffff8, 0xfd8e6120)
    TEST_DIV(0xa0792145, 0xd9316a68, 0x00000002, 0xee164c75)
    TEST_DIV(0x0dac1e00, 0x692a0470, 0x00000000, 0x0dac1e00)
    TEST_DIV(0x816e4490, 0x16df3f00, 0xfffffffb, 0xf3ca7f90)
    TEST_DIV(0x9471ab8a, 0xc428d407, 0x00000001, 0xd048d783)
    TEST_DIV(0x18197510, 0x859b3ae8, 0x00000000, 0x18197510)
    TEST_DIV(0x28852031, 0x7eab85d6, 0x00000000, 0x28852031)
    TEST_DIV(0x21707800, 0xea3c3580, 0xffffffff, 0x0bacad80)
    TEST_DIV(0xa16be6ef, 0xb507da40, 0x00000001, 0xec640caf)
    TEST_DIV(0xf434d0f8, 0xd2606068, 0x00000000, 0xf434d0f8)
    TEST_DIV(0x89fa9ce0, 0x8b746d5c, 0x00000001, 0xfe862f84)
    TEST_DIV(0x2fb0dcbc, 0xb3896224, 0x00000000, 0x2fb0dcbc)
    TEST_DIV(0xc8490240, 0x05fe2c70, 0xfffffff7, 0xfe389230)
    TEST_DIV(0xc7b128a4, 0x0600b15d, 0xfffffff7, 0xfdb764e9)
    TEST_DIV(0x57d6fe0a, 0x2dbec2d0, 0x00000001, 0x2a183b3a)
    TEST_DIV(0xa78bba58, 0x1d1ce488, 0xfffffffd, 0xfee267f0)
    TEST_DIV(0x084104da, 0x6700f886, 0x00000000, 0x084104da)
    TEST_DIV(0x6dacf9c8, 0x45e5c7a0, 0x00000001, 0x27c73228)
    TEST_DIV(0x62d0a060, 0xb3708762, 0xffffffff, 0x164127c2)
    TEST_DIV(0xe938b124, 0x0aa2c14f, 0xfffffffe, 0xfe7e33c2)
    TEST_DIV(0x12763f9c, 0xf896d530, 0xfffffffe, 0x03a3e9fc)
    TEST_DIV(0x098ef6a0, 0xcf035c50, 0x00000000, 0x098ef6a0)
    TEST_DIV(0xfcba0fa0, 0x47a5c5f4, 0x00000000, 0xfcba0fa0)
    TEST_DIV(0x3a2491a3, 0x1f054400, 0x00000001, 0x1b1f4da3)
    TEST_DIV(0xbbb8bc10, 0x8798d2ca, 0x00000000, 0xbbb8bc10)
    TEST_DIV(0xdd12c65c, 0x8874feb8, 0x00000000, 0xdd12c65c)
    TEST_DIV(0x6d394d48, 0xfddfc888, 0xffffffcd, 0x00ce4060)
    TEST_DIV(0x17c525ee, 0xff6e16fc, 0xffffffd7, 0x0066d44a)
    TEST_DIV(0xa752a72f, 0xe35b51ba, 0x00000003, 0xfd40b201)
    TEST_DIV(0xe756930c, 0x7beb5d56, 0x00000000, 0xe756930c)
    TEST_DIV(0x904d2f38, 0x825b052c, 0x00000000, 0x904d2f38)
    TEST_DIV(0x250342d6, 0x1f787044, 0x00000001, 0x058ad292)
    TEST_DIV(0xbe8bdcfe, 0x8b5cf9d6, 0x00000000, 0xbe8bdcfe)
    TEST_DIV(0xd3f889b8, 0xac603660, 0x00000000, 0xd3f889b8)
    TEST_DIV(0x5c4cd982, 0x767aa880, 0x00000000, 0x5c4cd982)
    TEST_DIV(0x4e386e66, 0xb8ca7281, 0xffffffff, 0x0702e0e7)
    TEST_DIV(0x4b70ed80, 0x37fbc175, 0x00000001, 0x13752c0b)
    TEST_DIV(0xd92de300, 0x15a8cfe5, 0xffffffff, 0xeed6b2e5)
    TEST_DIV(0xe775a23d, 0xa45ef71c, 0x00000000, 0xe775a23d)
    TEST_DIV(0x31f98592, 0xd61078b1, 0xffffffff, 0x0809fe43)
    TEST_DIV(0x80553a33, 0xeca4bbf1, 0x00000006, 0xf478d28d)
    TEST_DIV(0x5e6dac0d, 0x048e06c9, 0x00000014, 0x03552459)
    TEST_DIV(0x85b28db3, 0x78d48e18, 0xffffffff, 0xfe871bcb)
    TEST_DIV(0x59f96b98, 0x0455de88, 0x00000014, 0x034408f8)
    TEST_DIV(0x6b36df10, 0x7744092c, 0x00000000, 0x6b36df10)
    TEST_DIV(0x1f9e644f, 0xad18886c, 0x00000000, 0x1f9e644f)
    TEST_DIV(0x6d189a72, 0x645d8aac, 0x00000001, 0x08bb0fc6)
    TEST_DIV(0x0c1166a8, 0x6526ce40, 0x00000000, 0x0c1166a8)
    TEST_DIV(0x5af79440, 0xa7727e50, 0xffffffff, 0x026a1290)
    TEST_DIV(0xebbd6e70, 0x0d2b4b5b, 0xffffffff, 0xf8e8b9cb)
    TEST_DIV(0xb2180178, 0x9cb33ba8, 0x00000000, 0xb2180178)
    TEST_DIV(0x06f958e3, 0x896c1c88, 0x00000000, 0x06f958e3)
    TEST_DIV(0x9d4133d8, 0xb268ae15, 0x00000001, 0xead885c3)
    TEST_DIV(0xbd4528a6, 0x4ebd7e00, 0x00000000, 0xbd4528a6)
    TEST_DIV(0x14a45670, 0x74436183, 0x00000000, 0x14a45670)
    TEST_DIV(0x11228bd0, 0xcdd71c00, 0x00000000, 0x11228bd0)
    TEST_DIV(0x47bfd4f6, 0x04f21300, 0x0000000e, 0x0282caf6)
    TEST_DIV(0xccc6eaf4, 0xdf65b7b9, 0x00000001, 0xed61333b)
    TEST_DIV(0x69287980, 0x3fdb91d4, 0x00000001, 0x294ce7ac)
    TEST_DIV(0x2ac21846, 0xa0d6d160, 0x00000000, 0x2ac21846)
    TEST_DIV(0x36037f88, 0x65d193f8, 0x00000000, 0x36037f88)
    TEST_DIV(0xe01b0c18, 0x044a0800, 0xfffffff9, 0xfe214418)
    TEST_DIV(0xa08bab34, 0xe9f44ece, 0x00000004, 0xf8ba6ffc)
    TEST_DIV(0xa24b83a8, 0xb56350c8, 0x00000001, 0xece832e0)
    TEST_DIV(0xc1850010, 0xe21c795e, 0x00000002, 0xfd4c0d54)
    TEST_DIV(0xd2631020, 0x50ae6a00, 0x00000000, 0xd2631020)
    TEST_DIV(0x177145ec, 0x73399684, 0x00000000, 0x177145ec)
    TEST_DIV(0x5c29fe98, 0xbb34c9d1, 0xffffffff, 0x175ec869)
    TEST_DIV(0xfd1d2f72, 0x4502fd00, 0x00000000, 0xfd1d2f72)
    TEST_DIV(0xcfca90d7, 0xacc94d21, 0x00000000, 0xcfca90d7)
    TEST_DIV(0xbf6c9840, 0xef553fa0, 0x00000003, 0xf16cd960)
    TEST_DIV(0x6ef619f8, 0xe3cf8b3c, 0xfffffffd, 0x1a64bbac)
    TEST_DIV(0x0437c6c8, 0x81cdbff3, 0x00000000, 0x0437c6c8)
    TEST_DIV(0x31f26f2c, 0x9d47d258, 0x00000000, 0x31f26f2c)
    TEST_DIV(0x2badab5e, 0x8c49a4fe, 0x00000000, 0x2badab5e)
    TEST_DIV(0xd9f3a604, 0xd9182144, 0x00000000, 0xd9f3a604)
    TEST_DIV(0x2b294330, 0xe4f1c8b0, 0xffffffff, 0x101b0be0)
    TEST_DIV(0x391984ec, 0x9d07b1d0, 0x00000000, 0x391984ec)
    TEST_DIV(0xb6db9f5b, 0x84ec6cc0, 0x00000000, 0xb6db9f5b)
    TEST_DIV(0x502c6170, 0xf96bc9e0, 0xfffffff4, 0x0139d7f0)
    TEST_DIV(0x77b3b878, 0x9e6d0320, 0xffffffff, 0x1620bb98)
    TEST_DIV(0x7c72faa0, 0x053cda40, 0x00000017, 0x03fb5ee0)
    TEST_DIV(0x0c5fa5a8, 0x9b2335ed, 0x00000000, 0x0c5fa5a8)
    TEST_DIV(0xa9b150e0, 0x7a639ef0, 0x00000000, 0xa9b150e0)
    TEST_DIV(0x0a6d6891, 0x61006098, 0x00000000, 0x0a6d6891)
    TEST_DIV(0x59b7daa8, 0x54b62e21, 0x00000001, 0x0501ac87)
    TEST_DIV(0x7ee02a30, 0x5cbb3a30, 0x00000001, 0x2224f000)
    TEST_DIV(0x23832f40, 0x2da5b360, 0x00000000, 0x23832f40)
    TEST_DIV(0xfd42f62f, 0xb7474e7a, 0x00000000, 0xfd42f62f)
    TEST_DIV(0xe4bd1250, 0x488abc1c, 0x00000000, 0xe4bd1250)
    TEST_DIV(0xa2a77eae, 0x299d2a20, 0xfffffffe, 0xf5e1d2ee)
    TEST_DIV(0x4b688500, 0x16d5bb7c, 0x00000003, 0x06e7528c)
    TEST_DIV(0xa1da497c, 0xc7ed1a50, 0x00000001, 0xd9ed2f2c)
    TEST_DIV(0x62260fe8, 0x5ba0b130, 0x00000001, 0x06855eb8)
    TEST_DIV(0x9bb3f6d9, 0x41e136a4, 0xffffffff, 0xdd952d7d)
    TEST_DIV(0xd5fcd1d6, 0xc073ea20, 0x00000000, 0xd5fcd1d6)
    TEST_DIV(0xaaceef00, 0xb934eec0, 0x00000001, 0xf19a0040)
    TEST_DIV(0xf21b28a8, 0x724b7460, 0x00000000, 0xf21b28a8)
    TEST_DIV(0x630e69e4, 0x3d1cde06, 0x00000001, 0x25f18bde)
    TEST_DIV(0xbe57f2e4, 0x3e9c0ea0, 0xffffffff, 0xfcf40184)
    TEST_DIV(0x4e2c28a6, 0x72662240, 0x00000000, 0x4e2c28a6)
    TEST_DIV(0x5f95c708, 0xcf41487b, 0xffffffff, 0x2ed70f83)
    TEST_DIV(0x8dceffe3, 0xdc6a3b80, 0x00000003, 0xf8904d63)
    TEST_DIV(0xf5d4fec0, 0xf2a8f09c, 0x00000000, 0xf5d4fec0)
    TEST_DIV(0x881dab60, 0x9a380358, 0x00000001, 0xede5a808)
    TEST_DIV(0xd07715a0, 0x66e639b3, 0x00000000, 0xd07715a0)
    TEST_DIV(0x782095ce, 0x93be3000, 0xffffffff, 0x0bdec5ce)
    TEST_DIV(0x89ec82ca, 0xe20b2a70, 0x00000003, 0xe3cb037a)
    TEST_DIV(0xa193b0e0, 0x20fa0b00, 0xfffffffe, 0xe387c6e0)
    TEST_DIV(0x3557ea04, 0x75c478d0, 0x00000000, 0x3557ea04)
    TEST_DIV(0xa832f328, 0xee25c038, 0x00000004, 0xef9bf248)
    TEST_DIV(0x52b5d68a, 0x8899c4a8, 0x00000000, 0x52b5d68a)
    TEST_DIV(0x5eec8ab7, 0x90af59cc, 0x00000000, 0x5eec8ab7)
    TEST_DIV(0xd93d3180, 0x72d03460, 0x00000000, 0xd93d3180)
    TEST_DIV(0x77866a8e, 0x32659e96, 0x00000002, 0x12bb2d62)
    TEST_DIV(0x5958f077, 0xeb2bd5ec, 0xfffffffc, 0x06084827)
    TEST_DIV(0x60064154, 0xc46c5a9c, 0xffffffff, 0x24729bf0)
    TEST_DIV(0x6efa1a58, 0xb3f65f42, 0xffffffff, 0x22f0799a)
    TEST_DIV(0xbe718690, 0xe54a2a9e, 0x00000002, 0xf3dd3154)
    TEST_DIV(0xd5e2a4b0, 0x9a860828, 0x00000000, 0xd5e2a4b0)
    TEST_DIV(0x52d16644, 0x2d06d3ac, 0x00000001, 0x25ca9298)
    TEST_DIV(0xea72e2b6, 0xec307a80, 0x00000001, 0xfe426836)
    TEST_DIV(0xfcf2d068, 0x9049c098, 0x00000000, 0xfcf2d068)
    TEST_DIV(0xca150860, 0x68ac4460, 0x00000000, 0xca150860)
    TEST_DIV(0x99a81ef8, 0x49569c66, 0xffffffff, 0xe2febb5e)
    TEST_DIV(0x3181e9f0, 0x6f9b9c74, 0x00000000, 0x3181e9f0)
    TEST_DIV(0x15dd1e40, 0x50a72ba0, 0x00000000, 0x15dd1e40)
    TEST_DIV(0xf61afe37, 0xb6fcbca3, 0x00000000, 0xf61afe37)
    TEST_DIV(0x682fedd2, 0xb339543e, 0xffffffff, 0x1b694210)
    TEST_DIV(0xe58a4420, 0xe3744db0, 0x00000000, 0xe58a4420)
    TEST_DIV(0xb6b9f08a, 0x199a6c48, 0xfffffffe, 0xe9eec91a)
    TEST_DIV(0xdebcb606, 0xe8bbaeb0, 0x00000001, 0xf6010756)
    TEST_DIV(0x3a71821e, 0x75017300, 0x00000000, 0x3a71821e)
    TEST_DIV(0x16be834c, 0xa7ea3340, 0x00000000, 0x16be834c)
    TEST_DIV(0x7130e360, 0xb8ecacc0, 0xffffffff, 0x2a1d9020)
    TEST_DIV(0x48e68d72, 0x61958b0f, 0x00000000, 0x48e68d72)
    TEST_DIV(0xfe507f5e, 0x8e6a7cc0, 0x00000000, 0xfe507f5e)
    TEST_DIV(0xe79a63a0, 0xc9840fae, 0x00000000, 0xe79a63a0)
    TEST_DIV(0x05ac462e, 0x9f740f8a, 0x00000000, 0x05ac462e)
    TEST_DIV(0xa9b8d99a, 0xa7ba9f80, 0x00000000, 0xa9b8d99a)
    TEST_DIV(0xda594800, 0x8045367d, 0x00000000, 0xda594800)
    TEST_DIV(0xe8c2df9a, 0xe6c66c34, 0x00000000, 0xe8c2df9a)
    TEST_DIV(0x9e516c26, 0xef3e3bd4, 0x00000005, 0xf21a4102)
    TEST_DIV(0x7f9c4ad4, 0x6c56d48c, 0x00000001, 0x13457648)
    TEST_DIV(0x30322930, 0x1b8d3720, 0x00000001, 0x14a4f210)
    TEST_DIV(0xf7bed7b0, 0xdb77e540, 0x00000000, 0xf7bed7b0)
    TEST_DIV(0xa0c7d748, 0x8de61300, 0x00000000, 0xa0c7d748)
    TEST_DIV(0xdeb2f704, 0xfd2b0c11, 0x0000000b, 0xfdd97249)
    TEST_DIV(0xc08e13d8, 0x1f025330, 0xfffffffe, 0xfe92ba38)
    TEST_DIV(0x1c4fb5a4, 0x9f16309a, 0x00000000, 0x1c4fb5a4)
    TEST_DIV(0xc79dd5a8, 0x1708cffa, 0xfffffffe, 0xf5af759c)
    TEST_DIV(0x1c14063c, 0x4ad7ecde, 0x00000000, 0x1c14063c)
    TEST_DIV(0xefc87cb8, 0xd8274770, 0x00000000, 0xefc87cb8)
    TEST_DIV(0xf3754a48, 0x42d43ff0, 0x00000000, 0xf3754a48)
    TEST_DIV(0xee7fe8de, 0x481f94b8, 0x00000000, 0xee7fe8de)
    TEST_DIV(0xa4687a12, 0x9a5e9408, 0x00000000, 0xa4687a12)
    TEST_DIV(0x8060ef38, 0x2757ffba, 0xfffffffd, 0xf668ee66)
    TEST_DIV(0x35162c00, 0x4650c250, 0x00000000, 0x35162c00)
    TEST_DIV(0xdf8269ac, 0x1cea5d17, 0xffffffff, 0xfc6cc6c3)
    TEST_DIV(0x3ba27576, 0xcc489080, 0xffffffff, 0x07eb05f6)
    TEST_DIV(0x341cc13c, 0x7a5f07e4, 0x00000000, 0x341cc13c)
    TEST_DIV(0x8c030a32, 0xd31e83ae, 0x00000002, 0xe5c602d6)
    TEST_DIV(0xa155dde4, 0x351a7ff2, 0xffffffff, 0xd6705dd6)
    TEST_DIV(0x92d1a1ec, 0xd13a1fc0, 0x00000002, 0xf05d626c)
    TEST_DIV(0x36c937c0, 0x2c89aba2, 0x00000001, 0x0a3f8c1e)
    TEST_DIV(0x47506235, 0x46d61042, 0x00000001, 0x007a51f3)
    TEST_DIV(0xa32ef97a, 0x4e0fadda, 0xffffffff, 0xf13ea754)
    TEST_DIV(0xf951a840, 0x6b209180, 0x00000000, 0xf951a840)
    TEST_DIV(0x96f74c94, 0xa0470840, 0x00000001, 0xf6b04454)
    TEST_DIV(0x62d099d0, 0xf0f05fe0, 0xfffffffa, 0x0872d910)
    TEST_DIV(0x4fb6071e, 0x72762908, 0x00000000, 0x4fb6071e)
    TEST_DIV(0xee856ae8, 0x80b4ba58, 0x00000000, 0xee856ae8)
    TEST_DIV(0x8f9fc561, 0xbd96c9d4, 0x00000001, 0xd208fb8d)
    TEST_DIV(0xaaa04840, 0xbfb8eb30, 0x00000001, 0xeae75d10)
    TEST_DIV(0xb992d620, 0xced24e3e, 0x00000001, 0xeac087e2)
    TEST_DIV(0x4967f580, 0xe1381905, 0xfffffffe, 0x0bd8278a)
    TEST_DIV(0x722d059f, 0x705cea80, 0x00000001, 0x01d01b1f)
    TEST_DIV(0x15053974, 0x8b5e5c00, 0x00000000, 0x15053974)
    TEST_DIV(0x664c2a8c, 0x50bf0b96, 0x00000001, 0x158d1ef6)
    TEST_DIV(0x92395380, 0x15c2099e, 0xfffffffb, 0xff038396)
    TEST_DIV(0xf24a2a85, 0xca406d34, 0x00000000, 0xf24a2a85)
    TEST_DIV(0x9187ed80, 0xb8ff4cc8, 0x00000001, 0xd888a0b8)
    TEST_DIV(0x00000000, 0xa7bb1ef0, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x3b071680, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x5437a9a4, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x983f5010, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xe3c34800, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x0150e3c0, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x12ae6f3c, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x556816e8, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xf03508a8, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xdcfc26e8, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x7af37910, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xc2f278fc, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x94c84450, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xd86ca510, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x133938a0, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x29434638, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x87ce5788, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x7d4c8c30, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x059c0620, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x3a3fecd8, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x5e07511d, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x1cbfb068, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x8dfefb58, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x1ffffb32, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xc074ddcf, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x5f1dd50c, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x4aad31d6, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x155e3930, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xa174b2d2, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xa0cca109, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x27806376, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x223fb380, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x0382e496, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x45bb88de, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x88c8b849, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xa1370e42, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x2294ac0f, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xa468f9d9, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x7d44484a, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xdfbba248, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x556da228, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xa3f71db8, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x56440d40, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xac63da59, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xacaf7e2a, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x5d5e42f8, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0xa057daea, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x3e1f6150, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x3050efec, 0x00000000, 0x00000000)
    TEST_DIV(0x00000000, 0x94e29c00, 0x00000000, 0x00000000)
    HIT_GOOD_TRAP

inst_error:
    HIT_BAD_TRAP